package com.snail.snailvr.model;

import com.activeandroid.Model;
import com.activeandroid.annotation.Column;
import com.activeandroid.annotation.Table;

/**
 * Created by snail on 16/4/21.
 */
@Table(name = "file_index")
public class FileIndex extends Model {

    @Column(name = "file_name", unique = true, onUniqueConflict = Column.ConflictAction.REPLACE)
    String file_name;

    @Column(name = "file_index")
    int file_index;

    public FileIndex() {
    }

    public FileIndex(String file_name, int file_index){
        this.file_name = file_name;
        this.file_index = file_index;
    }

    public int getFile_index() {
        return file_index;
    }
}
